
from django.core.management.base import NoArgsCommand

from optparse import make_option
import os
import sys
from django.conf import settings

class Command(NoArgsCommand):
    def handle_noargs(self, **options):
        from django.core.management import call_command
        
        os.unlink( settings.DATABASE_NAME )
        call_command('syncdb')
        call_command('test')